html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
}
ol, ul {
    list-style: none;
}


table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
    background-image: linear-gradient(#22222233, #22222233), url('./wallhaven-q2oxdd.png');
}

:root {
    --min_height: 720px;
    --min_width: 1020px;
    --theme-color: #B6E4E2;
    --theme_color_misty-rose: #fdd6d3;
    --theme_color_powder_blue: #b9d9dd;
    --theme_color_dim_gray: #684a5f;
    --theme_color_dark_gray: #9e9fb8;
    --theme_color_lavender_blush: #fbf3f2;
    --theme_color_light_pink: #efb2bc;
}

.container {
    display: flex;
    height: 100vh;
    width: 100vw;
    min-height: 720px;
    min-width: 1000px;
    flex-direction: column;
}
.main {
    display: flex;
    height: calc(100% - 140px);
}

.music-list {
    flex-grow: 1;
    min-width: 800px;
}

/*header*/
a {
    text-decoration: none;
    color: #000;
    bottom: 0;
    padding: 10px;
    border-radius: 5px;
}


.head-mid a {
    font-size: 1rem;
    transition: .2s;
}

a.active {
    color: var(--theme-color);
}

a:hover {
    background: rgba(0, 0, 0, 0.1);
}

.head-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 65px;

}

.head-mid {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 300px;
    margin-left: 30px;
}

.head-right {
    margin-left: 50px;
}

button {
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    transition: .2s;
    color: var(--theme-color);
}

.head {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    backdrop-filter: blur(10px);
}

.bank {
    flex-grow: 1;
}

.back, .forward {
    width: 30px;
    height: 30px;
    border-radius: 5px;
}

.back:hover, .forward:hover {
    background: rgba(0, 0, 0, 0.1);
}

.back:active, .forward:active {
    transform: scale(.92);
}

.search-box {
    display: flex;
    height: 30px;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #f2f2f4;
    opacity: 0.8;
}

.search-box input {
    width: 150px;
    margin-left: 5px;
    margin-right: 5px;
    outline: none;
    border: none;
    transition: .3s;
    background-color: #f2f2f4;
}

.search-box:hover {
    box-shadow: 0 1px 6px rgb(32 33 36 / 28%);
    border-color: rgba(223, 225, 229, 0);
}


.blank-h {
    width: 15px;
}

/*sidebar*/
.sidebar {
    box-sizing: border-box;
    padding-left: 5px;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    width: 200px;
    min-width: 200px;
    z-index: 10;
    background-color: rgba(0,0,0,.1);
    /*backdrop-filter: blur(10px);*/

}

.sidebar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.sidebar::-webkit-scrollbar-thumb {
    border-radius: 10px;
}

.sidebar:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,.2);
    border-radius: 10px;
}


/*鼠标悬浮在滑块上时滑块的样式*/
.sidebar::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0,0,0,.4);
}

/*正常时候的主干部分*/
.sidebar::-webkit-scrollbar-track {
    margin-top: 10px;
    margin-bottom: 5px;
    border-radius: 10px;
}

.node-content {
    margin-bottom: 50px;
    padding-left: 10px;
    overflow-x: visible;
}

.node-content > li > span {
    font-size: 0.8rem;
    color: #ccc;
}

.node-children {
    margin-top: 10px;
    margin-right: 10px;
}

.node-children > li {
    font-size: 0.9rem;
    padding-left: 10px;
    padding-top:5px;
    padding-bottom: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}
.node-children > li:hover {
    background-color: rgba(0,0,0,.2)

}

/*music list*/
.table-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
    min-width: 800px;
    position: relative;
    font-size: 13px;

}
.list-row {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(140px, 1fr) minmax(200px, 1fr) 50px;
}

.table-header{
    padding-left: 10px;
    padding-right: 13px;
    background-color: rgba(0, 0, 0, .5);
    z-index: 2;
    backdrop-filter: blur(10px);
}

.table-body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-body::-webkit-scrollbar-thumb {
    border-radius: 10px;
}

.table-body:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .2);
    border-radius: 10px;
}

/*鼠标悬浮在滑块上时滑块的样式*/
.table-body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, .4);
}

/*正常时候的主干部分*/
.table-body::-webkit-scrollbar-track {
    margin-bottom: 5px;
    border-radius: 10px;
}

.table-body {
    padding-left: 10px;
    padding-right: 5px;
    position: relative;
    flex-grow: 1;
    overflow-y: auto;
}

.cell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-top: 10px;
    padding-bottom: 10px;
}

.list-cover {
    width: 160px;
    height: 160px;
    border-radius: 10px;
    background-color: #ff908c;
    transition: .5s;
}

.list-info {
    display: flex;
    padding-bottom: 10px;
}

.list-info-container {
    margin-left: 10px;
}

.list-name {
    font-size: 1.5rem;
    padding-top: 10px;
    padding-bottom: 10px;
}

/*music control*/
button {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding:0;
    transition: .2s;
    color: var(--theme-color);
}

.footer {
    width: 100%;
    height: 70px;
    backdrop-filter: blur(10px);
}

.progress-bar {
    background: red;
    width: 100%;
    height: 2px;
}

.music-controls-mid {
    width: 200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.music-controls-right{
    width: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}
.prev,.next{
    border-radius: 5px;
    width: 40px;
    height: 40px;
}

.prev:hover,.next:hover,.play:hover{
    background: rgba(0,0,0,0.1);
}

.prev:active,.next:active,.play:active{
    transform: scale(.92);
}

.play{
    border-radius: 10px;
    margin-left: 5px;
    margin-right: 2px;
    width: 50px;
    height: 50px;
}

.controls {
    height: 68px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    padding-left: 10px;
    padding-right: 10px;
}

.music-controls-right button{
    padding: 3px;
    width: 26px;
    height: 26px;
    border-radius: 5px;
}

.music-controls-right button:hover{
    background: rgba(0,0,0,0.1);
}

.music-controls-right button:active{
    transform: scale(.92);
}

/*music info*/
.music-cover {
    background: #fff url("https://p1.music.126.net/v4n1q4BqkFbbTYmMlAn-Tw==/109951167986586483.jpg?param=440y440");
    background-size: cover;
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

.music-info {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.music-name-container {
    margin-left: 10px;
}